package cyy.example.com.facotry.model.api.response;

import java.util.List;
import java.util.Map;

/**
 * Created by ChenYiYao on 2018/10/30.
 * des :
 */
public class AverageEntity {

    /**
     * paramStatisticAvgObjList : [{"paramCodeValue":{"101":0,"011":11.168375,"001":2.246806976744186,"B01TOTAL":null,"060":5.0E-5},"time":"20181030"},{"paramCodeValue":{"101":0.0629,"011":18.29776923076923,"001":6.484680722891567,"B01TOTAL":null,"060":0.06206666666666666},"time":"20181028"},{"paramCodeValue":{"101":0.052680000000000005,"011":10.920333333333334,"001":7.150055555555557,"B01TOTAL":null,"060":0},"time":"20181026"},{"paramCodeValue":{"101":0.08695,"011":16.1415,"001":11.197506521739133,"B01TOTAL":null,"060":0},"time":"20181023"},{"paramCodeValue":{"101":0.06512,"011":13.839500000000001,"001":7.008983333333333,"B01TOTAL":null,"060":0},"time":"20181025"},{"paramCodeValue":{"101":0.06586,"011":10.440666666666667,"001":10.25990882352941,"B01TOTAL":null,"060":0},"time":"20181024"},{"paramCodeValue":{"101":0.06697,"011":8.571166666666665,"001":10.035739999999999,"B01TOTAL":null,"060":1.722},"time":"20181020"},{"paramCodeValue":{"101":0.055499999999999994,"011":19.64777777777778,"001":8.97658717948718,"B01TOTAL":null,"060":0},"time":"20181027"},{"paramCodeValue":{"101":0.00925,"011":1.433,"001":1.7231954545454544,"B01TOTAL":null,"060":0},"time":"20181022"},{"paramCodeValue":{"101":0.06586,"011":11.012571428571428,"001":9.97511186440678,"B01TOTAL":null,"060":0.22596},"time":"20181012"},{"paramCodeValue":{"101":0.07806999999999999,"011":18.515285714285714,"001":10.53262,"B01TOTAL":null,"060":0.59708},"time":"20181011"},{"paramCodeValue":{"101":0.02923,"011":6.73175,"001":11.2302,"B01TOTAL":null,"060":0.7356230769230769},"time":"20181013"},{"paramCodeValue":{"101":0.07622,"011":21.6912,"001":12.584270370370367,"B01TOTAL":null,"060":13.117920000000002},"time":"20181010"},{"paramCodeValue":{"101":0.054389999999999994,"011":15.581999999999999,"001":8.458148,"B01TOTAL":null,"060":3.6162},"time":"20181019"},{"paramCodeValue":{"101":0.0481,"011":6.470272727272728,"001":9.183311904761906,"B01TOTAL":null,"060":0.07566999999999999},"time":"20181014"}]
     * siteStandValueVo : {"address":"光明区塘尾村塘尾工业区","companyId":2165,"companyName":"丰宾电子（深圳）有限公司","latitude":22.755885,"longitude":113.914805,"mnCode":"GM004010000001","paramThirftObjectList":[{"paramCode":"001","paramDubValue":"1-14","paramName":"pH值","paramUnit":"","paramValue":"6-9"},{"paramCode":"011","paramDubValue":"5000","paramName":"化学需氧(COD)","paramUnit":"mg/l","paramValue":"110"},{"paramCode":"060","paramDubValue":"1200","paramName":"氨氮","paramUnit":"mg/l","paramValue":"15"},{"paramCode":"101","paramDubValue":"100","paramName":"总磷","paramUnit":"mg/l","paramValue":"1"},{"paramCode":"B01","paramName":"流量","paramUnit":"l/s","paramValue":"10"},{"paramCode":"B01TOTAL","paramName":"累计流量","paramUnit":"m³","paramValue":"100000"}],"regionCode":"440000440300440310","siteCode":"WS-FBDZ01","watchsiteName":"丰宾电子（深圳）有限公司"}
     * total : 21
     */

    private SiteStandValueVoBean siteStandValueVo;
    private int total;
    private List<ParamStatisticAvgObjListBean> paramStatisticAvgObjList;

    public SiteStandValueVoBean getSiteStandValueVo() {
        return siteStandValueVo;
    }

    public void setSiteStandValueVo(SiteStandValueVoBean siteStandValueVo) {
        this.siteStandValueVo = siteStandValueVo;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ParamStatisticAvgObjListBean> getParamStatisticAvgObjList() {
        return paramStatisticAvgObjList;
    }

    public void setParamStatisticAvgObjList(List<ParamStatisticAvgObjListBean> paramStatisticAvgObjList) {
        this.paramStatisticAvgObjList = paramStatisticAvgObjList;
    }

    public static class SiteStandValueVoBean {
        /**
         * address : 光明区塘尾村塘尾工业区
         * companyId : 2165
         * companyName : 丰宾电子（深圳）有限公司
         * latitude : 22.755885
         * longitude : 113.914805
         * mnCode : GM004010000001
         * paramThirftObjectList : [{"paramCode":"001","paramDubValue":"1-14","paramName":"pH值","paramUnit":"","paramValue":"6-9"},{"paramCode":"011","paramDubValue":"5000","paramName":"化学需氧(COD)","paramUnit":"mg/l","paramValue":"110"},{"paramCode":"060","paramDubValue":"1200","paramName":"氨氮","paramUnit":"mg/l","paramValue":"15"},{"paramCode":"101","paramDubValue":"100","paramName":"总磷","paramUnit":"mg/l","paramValue":"1"},{"paramCode":"B01","paramName":"流量","paramUnit":"l/s","paramValue":"10"},{"paramCode":"B01TOTAL","paramName":"累计流量","paramUnit":"m³","paramValue":"100000"}]
         * regionCode : 440000440300440310
         * siteCode : WS-FBDZ01
         * watchsiteName : 丰宾电子（深圳）有限公司
         */

        private String address;
        private int companyId;
        private String companyName;
        private double latitude;
        private double longitude;
        private String mnCode;
        private String regionCode;
        private String siteCode;
        private String watchsiteName;
        private List<ParamThirftObjectListBean> paramThirftObjectList;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getCompanyId() {
            return companyId;
        }

        public void setCompanyId(int companyId) {
            this.companyId = companyId;
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public String getMnCode() {
            return mnCode;
        }

        public void setMnCode(String mnCode) {
            this.mnCode = mnCode;
        }

        public String getRegionCode() {
            return regionCode;
        }

        public void setRegionCode(String regionCode) {
            this.regionCode = regionCode;
        }

        public String getSiteCode() {
            return siteCode;
        }

        public void setSiteCode(String siteCode) {
            this.siteCode = siteCode;
        }

        public String getWatchsiteName() {
            return watchsiteName;
        }

        public void setWatchsiteName(String watchsiteName) {
            this.watchsiteName = watchsiteName;
        }

        public List<ParamThirftObjectListBean> getParamThirftObjectList() {
            return paramThirftObjectList;
        }

        public void setParamThirftObjectList(List<ParamThirftObjectListBean> paramThirftObjectList) {
            this.paramThirftObjectList = paramThirftObjectList;
        }

        public static class ParamThirftObjectListBean {
            /**
             * paramCode : 001
             * paramDubValue : 1-14
             * paramName : pH值
             * paramUnit :
             * paramValue : 6-9
             */

            private String paramCode;
            private String paramDubValue;
            private String paramName;
            private String paramUnit;
            private String paramValue;

            public String getParamCode() {
                return paramCode;
            }

            public void setParamCode(String paramCode) {
                this.paramCode = paramCode;
            }

            public String getParamDubValue() {
                return paramDubValue;
            }

            public void setParamDubValue(String paramDubValue) {
                this.paramDubValue = paramDubValue;
            }

            public String getParamName() {
                return paramName;
            }

            public void setParamName(String paramName) {
                this.paramName = paramName;
            }

            public String getParamUnit() {
                return paramUnit;
            }

            public void setParamUnit(String paramUnit) {
                this.paramUnit = paramUnit;
            }

            public String getParamValue() {
                return paramValue;
            }

            public void setParamValue(String paramValue) {
                this.paramValue = paramValue;
            }
        }
    }

    public static class ParamStatisticAvgObjListBean {
        /**
         * paramCodeValue : {"101":0,"011":11.168375,"001":2.246806976744186,"B01TOTAL":null,"060":5.0E-5}
         * time : 20181030
         */

        private Map<String, String> paramCodeValue;
        private String time;

        public Map<String, String> getParamCodeValue() {
            return paramCodeValue;
        }

        public void setParamCodeValue(Map<String, String> paramCodeValue) {
            this.paramCodeValue = paramCodeValue;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

    }
}
